<template>
  <div class="service">
    <div class="container">
      <ul>
        <li><span class="icon-setting"></span><span>预约维修服务</span></li>
        <li><span class="icon-7day"></span><span>7天无理由退货</span></li>
        <li><span class="icon-15day"></span><span>15天免费换货</span></li>
        <li><span class="icon-post"></span><span>满150包邮</span></li>
      </ul>
    </div>
  </div>
</template>

<script>
  export default {
    name: "ServiceBar"
  }
</script>

<style lang="scss" scoped>
  @import "~@/assets/scss/base.scss";
  @import "~@/assets/scss/config.scss";
  @import "~@/assets/scss/mixin.scss";

  .service {
    padding: 33px 0;
    color: #666666;
    font-size: 16px;

    .container {
      ul {
        width: 100%;

        li {
          display: inline-block;
          width: 24.5%;
          text-align: center;
          border-right: 1px solid #e5e5e5;

          span:nth-child(1) {
            display: inline-block;
            width: 20px;
            height: 20px;
            vertical-align: middle;
            margin-right: 8px;
          }

          span {
            display: inline-block;
            height: 20px;
          }

          .icon-setting {
            @include bgImg(20px, 20px, '~@/public/imgs/icon-setting.png')
          }

          .icon-7day {
            @include bgImg(20px, 20px, '~@/public/imgs/icon-7day.png')
          }

          .icon-15day {
            @include bgImg(20px, 20px, '~@/public/imgs/icon-15day.png')
          }

          .icon-post {
            @include bgImg(20px, 20px, '~@/public/imgs/icon-post.png')
          }
        }
      }
    }
  }
</style>
